<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<title>Console Device Configuration Options</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="generator" content="Doc-O-Matic" />
    <meta http-equiv="Content-Style-Type" content="text/css" />
    <link rel="STYLESHEET" href="default.css" type="text/css" />

<script type="text/javascript" src="scripts.js"></script>
</head>
<body class="Element700" onload="onBodyLoadEx('frames.html', 'topic', '00707.html');" onmousedown="onBodyMouseDown();">

<!-- Begin Popups -->

<!-- End Popups -->

<!-- Begin Page Header -->
<div class="Element710" id="areafixed">
<div class="Element94">
<a href="01259.html" target="topic">System Service Libraries Help</a> &gt; <a href="00704.html" target="topic">Console System Service Library Help</a> &gt; <a href="00699.html" target="topic">Configuring the Library</a> &gt; <a href="00707.html" target="topic">Console Device Configuration Options</a></div>
<div class="Element92">
<table width="100%" cellspacing="0" cellpadding="0">
<tr><td width="25%">
<div class="Element1">
MPLAB Harmony Core Help</div>
</td><td width="25%">
<div class="Element2">
<a href="contents.html" target="tocidx">Contents</a> | <a href="00007.html" target="topic">Home</a></div>
</td><td width="25%">
<div class="Element90">
<a href="00699.html" target="topic">Previous</a> | <a href="00699.html" target="topic">Up</a> | <a href="00698.html" target="topic">Next</a></div>
</td><td width="25%">
<div class="Element96">
<a href="mailto:docerrors@microchip.com&subject=MPLAB Harmony Documentation Feedback (Topic ID: SYS CONSOLE UART Console Device Configuration Options Topic Title: Console Device Configuration Options)&body=Thank you for your feedback! Please include a description of your feedback, and indicate whether you are reporting an an error in the documentation or an enhancement.">Documentation Feedback</a><br> <a href="http://support.microchip.com" target="_blank">Microchip Support</a></div>
</td></tr></table><div class="Element5">
Console Device Configuration Options</div>
</div>
</div>

<!-- End Page Header -->

<!-- Begin Client Area -->
<div class="Element720" id="areascroll">
<div class="Element721">

<!-- Begin Page Content -->
<a name="PageContent"></a><div class="Element58">
<a name="4465736372697074696F6E"></a><div class="Element11">
<div class="Element10">
<p class="Element10">
The Console System Service library should be configured through the MHC.&nbsp;</p>
<p class="Element10">
&nbsp;</p>
<p class="Element10">
<strong><u>UART Console:</u></strong>&nbsp;</p>
<p class="Element10">
The following figure shows the MHC configuration window for configuring the UART Console Device and a brief description of various configuration options. The console system service requires the connected UART peripheral library to be configured in the interrupt mode. </p><p class="Element10" style="text-align: center;">
<img src="sys_console_uart.png" border="0" alt="" title="">&nbsp;</p>
<p class="Element10" style="text-align: center;">
<img src="sys_console_uart_sercom.png" border="0" alt="" title="">&nbsp;</p><p class="Element10">
&nbsp;</p>
<div class="Element15">
Configuration Options:</div>

<ul class="Element630">
<li class="Element600"><strong>Device Used:</strong>
<ul class="Element631">
<li class="Element601">Indicates the hardware UART Peripheral Library instance used by the Console System Service. The underlying USART/SERCOM/FLEXCOM PLIB must be configured in interrupt mode.</li>
</ul></li>
</ul><p class="Element10">
Note: The TX/RX ring buffers must be configured in the attached PLIB as shown above. In the above example, the TX and RX ring buffer sizes are configured in the attached SERCOM3 PLIB.&nbsp;</p>
<p class="Element10">
&nbsp;</p>
<p class="Element10">
<strong><u>USB Console:</u></strong>&nbsp;</p>
<p class="Element10">
The following figure shows the MHC configuration window for configuring the USB Console Device and a brief description of various configuration options. </p><p class="Element10" style="text-align: center;">
<img src="sys_console_usb.png" border="0" alt="" title=""></p><div class="Element15">
Configuration Options:</div>

<ul class="Element630">
<li class="Element600"><strong>Device Used:</strong>
<ul class="Element631">
<li class="Element601">Indicates the USB CDC Instance used by the Console System Service.</li>
<li class="Element601">Transmit Buffer Size (1-4096): Size of the transmit ring buffer</li>
<li class="Element601">Receive Buffer Size (1-4096): Size of the receive ring buffer</li>
</ul></li>
</ul></div>
</div>
</div>
<!-- End Page Content -->

<!-- Begin Page Footer -->
<div class="Element95">
<a href="01259.html" target="topic">System Service Libraries Help</a> &gt; <a href="00704.html" target="topic">Console System Service Library Help</a> &gt; <a href="00699.html" target="topic">Configuring the Library</a> &gt; <a href="00707.html" target="topic">Console Device Configuration Options</a></div>
<div class="Element93">
<table width="100%" cellspacing="0" cellpadding="0">
<tr><td width="25%">
<div class="Element3">
MPLAB Harmony Core Help</div>
</td><td width="25%">
<div class="Element4">
<a href="contents.html" target="tocidx">Contents</a> | <a href="00007.html" target="topic">Home</a></div>
</td><td width="25%">
<div class="Element91">
<a href="00699.html" target="topic">Previous</a> | <a href="00699.html" target="topic">Up</a> | <a href="00698.html" target="topic">Next</a></div>
</td><td width="25%">
<div class="Element97">
<a href="mailto:docerrors@microchip.com&subject=MPLAB Harmony Documentation Feedback (Topic ID: SYS CONSOLE UART Console Device Configuration Options Topic Title: Console Device Configuration Options)&body=Thank you for your feedback! Please include a description of your feedback, and indicate whether you are reporting an an error in the documentation or an enhancement.">Documentation Feedback</a><br> <a href="http://support.microchip.com" target="_blank">Microchip Support</a></div>
</td></tr></table></div>

<!-- End Page Footer -->
</div>
</div>

<!-- End Client Area -->
</body></html>